The following constants for file-handling are defined in the system unit:
Const fmclosed = $D7B0; fminput = $D7B1; fmoutput = $D7B2; fminout = $D7B3; fmappend = $D7B4; filemode : byte = 2;Further, the following general-purpose constants are also defined:
const test8086 : byte = 2; { always i386 or newer } test8087 : byte = 3; { Always 387 or higher. emulated if needed. } erroraddr : pointer = nil; errorcode : word = 0; { max level in dumping on error } max_frame_dump : word = 20;